﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Crawler.Domain
{
	public enum TorrentSource
	{
		YifyTorrent
	}

	public enum PageSource
	{
		MovieYifyTorrent,
		ImdbMovie,
		YifySubtitle,
	}

	public static class EnumsMapper
	{
		public static PageSource GetMoviePageSource(TorrentSource src)
		{
			switch (src)
			{
				case TorrentSource.YifyTorrent:
					return PageSource.MovieYifyTorrent;
					break;
				default:
					throw new ArgumentOutOfRangeException("src");
			}
		}
	}

}
